package com.burgeon.backend.SHOP.mappers;

import com.burgeon.backend.SHOP.entity.OrderItem;
import com.burgeon.backend.SHOP.entity.Refund;
import com.burgeon.backend.SHOP.entity.RefundRecord;
import com.burgeon.backend.SHOP.entity.RefundVO;
import com.burgeon.backend.entity.User;

import java.util.List;

public interface RefundMapper {

    String getRefundTemplate(String token);

    List<RefundVO> getRefundRecordByToken(String token);

    RefundVO getRefundRecord(String id);

    Integer upOrderState(String id,String state);

    Integer CreateRefundRecord(RefundRecord refundRecord);

    List<Refund> FindData(String uid,String token);

    OrderItem FindOrderData(String id);

    //根据用户id查询用户手机号
    User GetUserPhone(String id);

}
